package com.lee.leet.everyday.book.basic.array;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import java.util.List;

/**
 * @author liylw
 * @date 2021/11/24 15:50
 */
@Configuration
public class ArrayTest {


    @Autowired
    private List<AbsRemoveDuplicates> absRemoveDuplicates;


    @PostConstruct
    public void init(){
        for (AbsRemoveDuplicates absRemoveDuplicate : absRemoveDuplicates) {
            absRemoveDuplicate.leetRun();
        }
    }

}
